package com.echo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 问题类型
 * </p>
 *
 * @author echo
 * @since 2024-10-31
 */
@TableName("question_type")
public class QuestionType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 题目类型表的主键
     */
    @TableId(value = "question_type_id", type = IdType.AUTO)
    private Integer questionTypeId;

    /**
     * 题目类型名称
     */
    private String questionTypeName;

    /**
     * 题目类型的描述
     */
    private String questionTypeDescription;

    public Integer getQuestionTypeId() {
        return questionTypeId;
    }

    public void setQuestionTypeId(Integer questionTypeId) {
        this.questionTypeId = questionTypeId;
    }
    public String getQuestionTypeName() {
        return questionTypeName;
    }

    public void setQuestionTypeName(String questionTypeName) {
        this.questionTypeName = questionTypeName;
    }
    public String getQuestionTypeDescription() {
        return questionTypeDescription;
    }

    public void setQuestionTypeDescription(String questionTypeDescription) {
        this.questionTypeDescription = questionTypeDescription;
    }

    @Override
    public String toString() {
        return "QuestionType{" +
            "questionTypeId=" + questionTypeId +
            ", questionTypeName=" + questionTypeName +
            ", questionTypeDescription=" + questionTypeDescription +
        "}";
    }
}
